package com.ly.honor.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author 李某人
 * @Date 2023/4/3 1:01
 * @Version 1.0
 */
@Data
public class UpdatePassDTO {

    private Integer id;
    @NotBlank(message = "原密码不能为空")
    private String oldPass;

    @NotBlank(message = "新密码不能为空")
    private String pass;
}
